package main

import (
	log "github.com/sirupsen/logrus"
	"gitverse.ru/calma/msrc"
)

func main() {
	service := msrc.MultiService(
		map[string]msrc.ServiceInterface{
			"Test-Service":  &service{},
			"Error-Service": &serviceError{},
		},
		39000,
	)

	log.Warning(service.Run())
	log.Print(`All stopped`)
}
